<%--
  Created by IntelliJ IDEA.
  User: 86152
  Date: 2022/3/23
  Time: 15:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%@ include file="/WEB-INF/view/template.jsp" %>
<div class="page-wrapper">
    <div class="main-content">
        <!-- Page Title Start -->
        <div class="row">
            <div class="colxl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                <div class="page-title-wrapper">
                    <div class="page-title-box">
                        <h4 class="page-title bold">主页</h4>
                    </div>
                    <div class="breadcrumb-list">
                        <ul>
                            <li class="breadcrumb-link">
                                <a href="javascript:void(0);"><i class="fas fa-home mr-2"></i>Dashboard</a>
                            </li>
                            <li class="breadcrumb-link active">
                                <a href="/api/admin/">管理员</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!-- Products Orders Start -->
        <div class="row">
            <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                <div class="card chart-card">
                    <div class="card-header">
                        <h4>用户列表</h4>
                    </div>
                    <div class="card-body pb-4">
                        <div class="chart-holder">
                            <div class="table-responsive">
                                <table class="table table-styled mb-0">
                                    <thead>
                                    <tr>
                                        <th>用户ID</th>
                                        <th>用户名字</th>
                                        <th>真实名字</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <c:forEach var="users" items="${vistorList}">
                                        <tr>
                                            <td>${users.id}</td>
                                            <td>${users.username}</td>
                                            <td>${users.realname}</td>
                                            <td>操作</td>
                                        </tr>
                                    </c:forEach>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
